package com.leanyuan.main.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.leanyuan.main.dao.RepRegMapper_M;
import com.leanyuan.main.domain.RepReg;
import com.leanyuan.main.service.RepRegService_M;
import com.leanyuan.main.util.RepRegDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 相亲相爱一家人z
 * @since 2021-05-25
 */
@Service
public class RepRegServiceMImpl_M extends ServiceImpl<RepRegMapper_M, RepReg> implements RepRegService_M {
    @Autowired
    private RepRegMapper_M repRegMapperM;

    @Override
    public Page<RepReg> findReg$FormName(Page<RepReg> page, RepRegDto repRegDto) {
        Page<RepReg> repRegPage = page.setRecords(repRegMapperM.findReg$FormName(page,repRegDto));
        return repRegPage;
    }
}
